package com.zly.mybatisdemo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName TokenConfig
 * @Author zhaokang
 * @Description token配置
 * @Date 2021/1/28 14:21
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "token")
public class TokenConfig {

    private Integer tokenExpireTime;

    private Integer refreshCheckTime;

    private String secretKey;
}
